<script type="text/javascript" src="${base}/easyui/plugins/jquery.validatebox.js"></script>
<script type="text/javascript" src="${base}/scripts/tool/pinyin.js"></script>
<script type="text/javascript" src="${base}/scripts/sfgl/sksh_cz_content.js"></script>

<form id="form_sksh" method="post">
    <input name="sksh.id" type="hidden" value="${(sksh.id)!''}"/>
    <input name="sksh.zt" type="hidden" value="${(sksh.zt)!''}"/>
    <input name="sksh.kxyt.id" type="hidden" value="${(sksh.kxyt.id)!'84591'}"/>
    <table style="width:100%" class="tb tab-t">
        <col width="90px;"/>
        <col width=""/>
        <col width="110px;"/>
        <col width=""/>
        <tr>
            <th>单&nbsp;据&nbsp;&nbsp;号：</th>
            <td>
                <input id="sksh_bm" name="sksh.bm" type="hidden" class="input-text readonly"
                       readonly="readonly" value="${(sksh.bm)!}"/>
                <span>${(sksh.bm)!}</span>
            </td>

            <th style="color: red">付款方式：</th>
            <td><input id="sksh_fkfs" name="sksh.fkfs.id" type="text" class="input-text" required="true"
                       value="${(sksh.fkfs.id)!''}"></td>

        </tr>

        <tr style="display:none">
            <th style="color:#f45212;">收款类型：</th>
            <td>
                <label><input name="sksh.sfklx" type="radio" value="3" checked="checked"
                              style="vertical-align: middle;"/>&nbsp;销&nbsp;售&nbsp;收&nbsp;款&nbsp;</label>
                <label><input name="sksh.sfklx" type="radio" value="4"
                              <#if (sksh.sfklx)?? && sksh.sfklx==4>checked</#if> style="vertical-align: middle;"/>&nbsp;供&nbsp;应&nbsp;退&nbsp;款
                </label>
            </td>
            <th style="color:#f45212;">款项类型：</th>
            <td>
                <span id="sklx3" style="display: inline;">
                <label><input name="sksh.kxlx" type="radio" value="3" checked="checked"
                              style="vertical-align: middle;"/>预&nbsp; &nbsp;收&nbsp; &nbsp;款</label>
                </span>
                <span id="sklx4" style="display: inline;">
                    <label><input name="sksh.kxlx" type="radio" value="4"
                                  <#if (sksh.kxlx)?? && sksh.kxlx==4>checked</#if> style="vertical-align: middle;"/>应&nbsp;
                        &nbsp;收&nbsp; &nbsp;款 </label>
                </span>
                <span id="sklx1" style="display: none;">
                    <label><input name="sksh.kxlx" type="radio" value="1"
                                  style="vertical-align: middle;"/>预&nbsp; &nbsp;付&nbsp; &nbsp;款</label>
                <span>
                <span id="sklx2" style="display: none;">
                    <label><input name="sksh.kxlx" type="radio" value="2"
                                  <#if (sksh.kxlx)?? && sksh.kxlx==2>checked</#if> style="vertical-align: middle;"/>应&nbsp;
                        &nbsp;付&nbsp; &nbsp;款 </label>
                 <span>
            </td>
        </tr>

        <tr>
            <th style="color:#f45212;"> 票据类型：</th>
            <td>
                <input idVal="sksh_pjlx_id" name="sksh.pjlx.id" class="input-text" type="text"
                       required="true" value="${(sksh.pjlx.id)!''}"/>
            </td>
            <th style="color: red">客户付款时间：</th>
            <td><input id="sksh_khfksj" name="sksh.khfksj" type="text" style="width: 166px" required="true"
                       value="<#if sksh.id??>${(sksh.khfksj?date)!}</#if>">
            </td>

        <#--<th style="color:#f45212;">收款日期：</th>-->
        <#--<td>-->
        <#--<input name="sksh.sfkrq" type="text" class="easyui-datebox input-text"-->
        <#--required="true" editable="false" value="${(sksh.sfkrq?date)!''}"/>-->
        <#--</td>-->
        </tr>

        <tr>
            <th style="color:#f45212;">
                <span id="sksh_gys" style="display: none;">供&nbsp;应&nbsp;&nbsp;商：</span>
                <span id="sksh_kh" style="display: block;">客户名称：</span>
            </th>
            <td>
                <input type="hidden" id="sksh_id" value="${(sksh.gldw.id)!}"/>
                <input type="hidden" id="sksh_jc" value="${(sksh.gldw.qc)!}"/>
                <input id="sksh_gldw_id" name="sksh.gldw.id" type="text" value="${(sksh.gldw.id)!''}"
                       class="input-text"/>
            </td>
            <th style="color:#f45212;">充值金额（元）：</th>
            <td>
                <input id="sksh_sfje" name="sfje" type="text" class="easyui-numberbox input-text" autocomplete="off"
                       data-options="precision:2,min:0,validType:'numberDh'"
                       required="true"
                       value="${(sksh.sfje?string("0.00"))!''}"/>
            </td>

        </tr>
      <#--  <th style="color:#f45212;"> 二级账户：</th>
        <td>
            <input id="sksh_jfejzh_id" name="sksh.jfejzh.id" class="input-text easyui-combobox" type="text"
                   required="true" editable="false" data-options="valueField:'id',textField:'jc' "/>
        </td>-->
      <#--  <tr>
            <th> 款项用途：</th>
            <td>
                <input idVal="sksh_kxsy_id" name="sksh.kxsy.id" class="input-text" type="text"
                       value="${(sksh.kxsy.id)!''}"/>
            </td>

        </tr>-->
        <tr>
            <th>申报公司：</th>
            <td>
            <#--<input id="sksh_sbgs_id" name="sksh.sbgs.id" type="text" class="input-text"-->
            <#--value="<#if sksh??>${(sksh.sbgs.id)!}<#else>${(skzggsId)!}</#if>"/>-->
                <input id="sksh_gs_id" type="hidden" name="sksh.sbgs.id" class=" input-text"
                       value="${(sksh.sbgs.id)!}"
                        >
                <input type="text" class=" input-text" value="${(sksh.sbgs.jc)!} " readonly="readonly"
                        >
            </td>
            <th>申&nbsp;报&nbsp;&nbsp;人：</th>
            <td>
                <input type="hidden" name="sksh.sbr.id" class=" input-text" value="${(sksh.sbr.id)!}"
                        >
                <input type="text" class=" input-text" value="${(sksh.sbr.xm)!}"
                       readonly="readonly">
            </td>
        </tr>


        <tr name="change_type1">
            <th style="color: red">开票日期：</th>
            <td><input id="sksh_startDate" name="sksh.startDate" type="input-text" style="width: 166px"
                       value="${(sksh.startDate)!''}"></td>
            <th style="color: red">到期日期：</th>
            <td><input id="sksh_endDate" name="sksh.endDate" type="input-text" style="width: 166px"
                       value="${(sksh.endDate)!''}">
            </td>
        </tr>
       <#-- <tr name="change_type1">
            <th style="color: red">免息天数：</th>
            <td><input id="sksh_mxtx" name="sksh.mxts" class=" input-text" style="width: 166px"
                       value="${(sksh.mxts)!''}"></td>
            <th style="color: red">月贴息率（%）：</th>
            <td><input id="sksh_txl" name="sksh.txl" class="easyui-numberbox input-text"
                       data-options="precision:4,min:0,validType:'numberDh'"
                       value="${(sksh.txl?string("0.0000"))!''}">
            </td>
        </tr>-->
        <tr name="change_type1">
            <th style="color: red">承兑票据号：</th>
            <td><input id="sksh_pjhm" name="sksh.pjhm" class=" input-text" style="width: 266px" autocomplete="off"
                       value="${(sksh.pjhm)!''}"></td>
            </td>
        </tr>
        <tr>
            <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
            <td>
                <textarea style="width:468px;" rows="3" class="textarea" name="sksh.bz">${(sksh.bz)!}</textarea>
            </td>
        </tr>
    </table>
</form>



